Package jeresources.api
Interface IJERAPI
- All Known Implementing Classes:
JERAPI
public interface IJERAPI
Will be delivered during
FMLCommonSetupEvent
to any public static field that is annotated with JERPlugin-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.LevelgetLevel()Don't call this every time you need it, as when there is no actual mc world a fake world will be created.
-
Method Details
-
getMobRegistry
IMobRegistry getMobRegistry() -
getWorldGenRegistry
IWorldGenRegistry getWorldGenRegistry() -
getPlantRegistry
IPlantRegistry getPlantRegistry() -
getDungeonRegistry
IDungeonRegistry getDungeonRegistry() -
getLevel
net.minecraft.world.level.Level getLevel()Don't call this every time you need it, as when there is no actual mc world a fake world will be created. Thus uses time and memory- Returns:
- The current
Levelused by JER
-